package com.ruoyi.patient.entity;

import com.ruoyi.service.domain.ServiceOrders;
import com.ruoyi.service.domain.ServicePay;

import java.util.List;

public class PatientOrderReturn extends ServiceOrders {

    //验证码
    private String code;

    private List<ItemComboReturn> itemComboReturns;

    private ServicePay servicePay;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<ItemComboReturn> getItemComboReturns() {
        return itemComboReturns;
    }

    public void setItemComboReturns(List<ItemComboReturn> itemComboReturns) {
        this.itemComboReturns = itemComboReturns;
    }

    public ServicePay getServicePay() {
        return servicePay;
    }

    public void setServicePay(ServicePay servicePay) {
        this.servicePay = servicePay;
    }

    public void setOrder(ServiceOrders order) {
        this.setOrderId(order.getOrderId());
        this.setOrderCode(order.getOrderCode());
        this.setOrderUserid(order.getOrderUserid());
        this.setOrderServedid(order.getOrderServedid());
        this.setOrderAddressid(order.getOrderAddressid());
        this.setOrderNurseid(order.getOrderNurseid());
        this.setOrderPay(order.getOrderPay());
        this.setOrderTime(order.getOrderTime());
        this.setOrderFlag(order.getOrderFlag());
        this.setOrderStatus(order.getOrderStatus());
        this.setOrderServiceflag(order.getOrderServiceflag());
        this.setOrderCreateTime(order.getOrderCreateTime());
        this.setOrderScheduledtime(order.getOrderScheduledtime());
        this.setOrderActuallydoortime(order.getOrderActuallydoortime());
        this.setOrderEndtime(order.getOrderEndtime());
        this.setOrderAssessmentid(order.getOrderAssessmentid());
        this.setOrderRemark(order.getOrderRemark());
        this.setOrderNurseremark(order.getOrderNurseremark());
        this.setOrderReasonstopid(order.getOrderReasonstopid());
        this.setOrderReasonremark(order.getOrderReasonremark());
        this.setOrderCreateBy(order.getOrderCreateBy());
        this.setOrderCreatetime(order.getOrderCreatetime());
        this.setOrderUpdateBy(order.getOrderUpdateBy());
        this.setOrderUpdateTime(order.getOrderUpdateTime());
        this.setOrderUseFlag(order.getOrderUseFlag());
        this.setOrderDelFlag(order.getOrderDelFlag());
        this.setOrderRemark(order.getOrderRemark());

    }


}
